Zygimantas Berucka [Wed, 31 Dec 2003 09:30:11 +0000 (09:30 +0000)]
Updated Lithuanian translation by Tomas Kuliavas.
2003-12-31 Zygimantas Berucka <uid0@tuxfamily.org>
* lt.po: Updated Lithuanian translation by Tomas Kuliavas.
Matthias Clasen [Wed, 31 Dec 2003 01:05:57 +0000 (01:05 +0000)]
Pull accelerator key from the stock item if stock_id is given, but
Wed Dec 31 02:05:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
(gtk_action_group_add_toggle_actions_full):
(gtk_action_group_add_radio_actions_full): Pull accelerator key
from the stock item if stock_id is given, but accelerator
not. (Noticed by Jeff Franks and Jody Goldberg)
* tests/testmerge.c: Remove the accelerator from the "Open" entry
to test the above change.
Denis Lackovic [Tue, 30 Dec 2003 19:50:43 +0000 (19:50 +0000)]
croatian translations updated
Denis Lackovic [Tue, 30 Dec 2003 19:39:58 +0000 (19:39 +0000)]
croatian translations updated
cinamod [Tue, 30 Dec 2003 17:22:30 +0000 (17:22 +0000)]
toward bug 853775
cinamod [Tue, 30 Dec 2003 16:44:40 +0000 (16:44 +0000)]
fix bug 852354
Federico Mena Quintero [Mon, 29 Dec 2003 20:55:01 +0000 (20:55 +0000)]
Make show_all() work for the extra and preview widgets; reported by Paolo
2003-12-29 Federico Mena Quintero <federico@ximian.com>
Make show_all() work for the extra and preview widgets; reported
by Paolo Maggi.
* gtk/gtkfilechooserdefault.c (set_preview_widget): show_all() the
preview widget.
(set_extra_widget): show_all() the extra widget.
Duarte Loreto [Mon, 29 Dec 2003 18:45:16 +0000 (18:45 +0000)]
Fixed typo thanks to Gustavo N. Silva.
2003-12-29 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Fixed typo thanks to Gustavo N. Silva.
Soeren Sandmann [Mon, 29 Dec 2003 11:35:43 +0000 (11:35 +0000)]
Add GDK_THREADS_ENTER()/GDK_THREADS_LEAVE() pairs around idle functions.
Mon Dec 29 12:22:22 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkuimanager.c (do_updates):
* gtk/gtktoolbar.c (slide_idle_handler):
* gtk/gtkdnd.c (gtk_drag_update_idle):
Add GDK_THREADS_ENTER()/GDK_THREADS_LEAVE() pairs around idle
functions. (#130157, patch from Olexiy Avramchenko).
Anders Carlsson [Mon, 29 Dec 2003 10:55:53 +0000 (10:55 +0000)]
Update my e-mail address.
2003-12-29 Anders Carlsson <andersca@gnome.org>
* gtk/gtkradiotoolbutton.c:
* gtk/gtkradiotoolbutton.h:
* gtk/gtkseparatortoolitem.c:
* gtk/gtkseparatortoolitem.h:
* gtk/gtktoggletoolbutton.c:
* gtk/gtktoggletoolbutton.h:
* gtk/gtktoolbar.c:
* gtk/gtktoolbar.h:
* gtk/gtktoolbutton.c:
* gtk/gtktoolbutton.h:
* gtk/gtktoolitem.c:
* gtk/gtktoolitem.h:
Update my e-mail address.
Görkem Çetin [Mon, 29 Dec 2003 09:49:38 +0000 (09:49 +0000)]
CVS_SILENT
Matthias Clasen [Mon, 29 Dec 2003 00:38:50 +0000 (00:38 +0000)]
Add a way to lock individual accelerator paths. (#73207, reported by Havoc
Mon Dec 29 01:36:22 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaccelmap.[hc]: (gtk_accel_map_lock_path,
gtk_accel_map_unlock_path): Add a way to lock individual accelerator
paths. (#73207, reported by Havoc Pennington)
Christian Rose [Sun, 28 Dec 2003 23:32:10 +0000 (23:32 +0000)]
Updated Croatian translation by Robert Sedak <robert.sedak@sk.tel.hr>.
2003-12-29 Christian Rose <menthos@menthos.com>
* hr.po: Updated Croatian translation by
Robert Sedak <robert.sedak@sk.tel.hr>.
Görkem Çetin [Sun, 28 Dec 2003 21:03:39 +0000 (21:03 +0000)]
CVS_SILENT
Soeren Sandmann [Sat, 27 Dec 2003 22:19:33 +0000 (22:19 +0000)]
use CHILD_VISIBLE instead of VISIBLE to determine whether we should stop
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
instead of VISIBLE to determine whether we should stop
sliding. (#130018, reported by Christian Persch).
Åsmund Skjæveland [Fri, 26 Dec 2003 23:36:17 +0000 (23:36 +0000)]
Updated Norwegian Nynorsk translation.
2003-12-27 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Matthias Clasen [Fri, 26 Dec 2003 22:23:50 +0000 (22:23 +0000)]
Don't use first_action without initializing it if n_entries is 0.
Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
Don't use first_action without initializing it if n_entries is 0.
Gustavo Noronha Silva [Thu, 25 Dec 2003 04:52:38 +0000 (04:52 +0000)]
finalized updated.
2003-12-25 Gustavo Noronha Silva <kov@debian.org>
* pt_BR.po: finalized updated.
Duarte Loreto [Thu, 25 Dec 2003 04:19:21 +0000 (04:19 +0000)]
Updated Portuguese translation.
2003-12-25 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Matthias Clasen [Wed, 24 Dec 2003 23:28:14 +0000 (23:28 +0000)]
Add the missing _get_ to the name of the non-Xcursor version of this
Thu Dec 25 00:26:34 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
Add the missing _get_ to the name of the non-Xcursor version of
this function. (noticed by Torsten Schoenfeld)
Manish Singh [Wed, 24 Dec 2003 06:32:28 +0000 (06:32 +0000)]
fix GTK_TYPE_ICON_INFO macro, reported by muppet.
Tue Dec 23 22:34:50 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkicontheme.h: fix GTK_TYPE_ICON_INFO macro, reported by
muppet.
Matthias Clasen [Wed, 24 Dec 2003 00:14:15 +0000 (00:14 +0000)]
Add GtkClipboardTargetReceivedFunc, gtk_clipboard_request_targets() and
Wed Dec 24 01:12:53 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc,
gtk_clipboard_request_targets() and
gtk_clipboard_wait_for_targets(). (#101774, Dom Lachowicz)
Gustavo Noronha Silva [Tue, 23 Dec 2003 04:44:21 +0000 (04:44 +0000)]
semi-updated translation.
2003-12-23 Gustavo Noronha Silva <kov@debian.org>
* pt_BR.po: semi-updated translation.
Laurent Dhima [Mon, 22 Dec 2003 19:30:10 +0000 (19:30 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Mon, 22 Dec 2003 19:28:34 +0000 (19:28 +0000)]
Updated
Matthias Clasen [Mon, 22 Dec 2003 00:37:04 +0000 (00:37 +0000)]
Fix building with --disable-modules --with-included-loaders, create an
Mon Dec 22 01:35:36 2003 Matthias Clasen <maclas@gmx.de>
* Makefile.am (gdk-pixbuf.loaders): Fix building with
--disable-modules --with-included-loaders, create an
empty gdk-pixbuf.loaders file. (#124496, Arno Charlet, fix
proposed by Owen Taylor)
Matthias Clasen [Sun, 21 Dec 2003 23:41:26 +0000 (23:41 +0000)]
Use gtk_paint_arrow instead of draw_arrow_left/draw_arrow_right. Removed.
Mon Dec 22 00:40:39 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (gtk_calendar_paint_arrow): Use
gtk_paint_arrow instead of draw_arrow_left/draw_arrow_right.
* gtk/gtkcalendar.c (draw_arrow_left):
(draw_arrow_right): Removed.
* gtk/gtkcalendar.c (gtk_calendar_realize_arrows):
* gtk/gtkcalendar.c (gtk_calendar_state_changed): Set the
arrow_state to GTK_STATE_INSENSITIVE if the calendar is
insensitive. (#97376)
Matthias Clasen [Sun, 21 Dec 2003 22:28:14 +0000 (22:28 +0000)]
Fix memory leaks caused by the failure to free the result of
Sun Dec 21 23:17:01 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (update_node):
(update_smart_separators):
(_gtk_menu_is_empty):
(find_menu_position):
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_destroy):
* gtk/gtkcombobox.c (gtk_combo_box_relayout_item):
(gtk_combo_box_relayout): Fix memory leaks caused by the
failure to free the result of gtk_container_get_children().
(#127576, Yao Zhang)
Soeren Sandmann [Sun, 21 Dec 2003 16:37:43 +0000 (16:37 +0000)]
Set the right properties when the window becomes a toplevel. When a window
Sun Dec 21 17:34:22 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right
properties when the window becomes a toplevel. When a window that
was previously a toplevel becomes a toplevel again, restore its
window type. Also make sure the focus window is removed from the
XID hash when it is destroyed. (#117579, reported by Morten
Welinder, patch reviewed by Owen Taylor).
Matthias Clasen [Sun, 21 Dec 2003 00:59:46 +0000 (00:59 +0000)]
New function to emit the "cancel" signal on a menu shell.
Sun Dec 21 01:54:40 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmenushell.h:
* gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function
to emit the "cancel" signal on a menu shell.
* gtk/gtkmenu.c (gtk_menu_key_press):
* gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
* gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the
new function instead of directly emitting the
signal. (#81803, Owen Taylor)
Matthias Clasen [Sat, 20 Dec 2003 23:43:30 +0000 (23:43 +0000)]
Fix the "language_set" blurb. (#129720, Christian Rose)
Sun Dec 21 00:39:50 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
Fix the "language_set" blurb. (#129720, Christian Rose)
Kristian Rietveld [Sat, 20 Dec 2003 21:08:24 +0000 (21:08 +0000)]
do not invalidate all of treeview when resizing (#110074, patch from
Sat Dec 20 22:06:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate
all of treeview when resizing (#110074, patch from Soeren Sandmann).
Francisco Javier F. Serrador [Sat, 20 Dec 2003 14:30:14 +0000 (14:30 +0000)]
Updated Spanish translation.
2003-12-20 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Christian Rose [Sat, 20 Dec 2003 08:44:33 +0000 (08:44 +0000)]
Updated Swedish translation.
2003-12-20 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Vincent van Adrighem [Sat, 20 Dec 2003 00:57:57 +0000 (00:57 +0000)]
Dutch translation updated by Tino Meinen.
2003-12-20 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Kristian Rietveld [Fri, 19 Dec 2003 22:47:20 +0000 (22:47 +0000)]
Fixes #108458.
Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org>
Fixes #108458.
* gtk/gtkcelllayout.[ch]: added a reorder method.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init),
(gtk_tree_view_column_cell_layout_reorder): implement reorder.
* gtk/gtkcellview.c (gtk_cell_view_cell_layout_init),
(gtk_cell_view_cell_layout_reorder): ditto.
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
(gtk_combo_box_cell_layout_reorder): ditto.
* gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init),
(gtk_entry_completion_reorder): ditto.
Kristian Rietveld [Fri, 19 Dec 2003 21:21:12 +0000 (21:21 +0000)]
use strstr instead of strcmp (#117127, suggestion from Soeren Sandmann).
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
instead of strcmp (#117127, suggestion from Soeren Sandmann).
Kristian Rietveld [Fri, 19 Dec 2003 20:56:19 +0000 (20:56 +0000)]
move item insertion logic here from gtk_menu_real_insert(),
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
here from gtk_menu_real_insert(),
(gtk_menu_real_insert): just call gtk_menu_do_insert(),
(gtk_menu_reorder_child): run _do_insert after inserting the child
(unbreaks _reorder_child, reported by Tim Janik).
Federico Mena Quintero [Fri, 19 Dec 2003 17:38:54 +0000 (17:38 +0000)]
Use g_date_strftime() for UTF-8 correctness; use Julian dates to simplify
2003-12-19 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use
g_date_strftime() for UTF-8 correctness; use Julian dates to
simplify the function.
Christian Neumair [Fri, 19 Dec 2003 16:31:52 +0000 (16:31 +0000)]
/tmp/cvsgA8OQj
Danilo Šegan [Fri, 19 Dec 2003 16:00:34 +0000 (16:00 +0000)]
Updated Serbian translation.
Matthias Clasen [Fri, 19 Dec 2003 00:47:26 +0000 (00:47 +0000)]
Test extra_width, not extra_height, when determining whether to set
Fri Dec 19 01:47:34 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request):
Test extra_width, not extra_height, when determining whether to
set extra_width. (#129647, Jan Arne Petersen)
Matthias Clasen [Fri, 19 Dec 2003 00:41:00 +0000 (00:41 +0000)]
Add a bug number
Matthias Clasen [Fri, 19 Dec 2003 00:39:10 +0000 (00:39 +0000)]
Fix the behaviour of insensitive actions, which was broken when
Fri Dec 19 01:35:34 2003 Matthias Clasen <maclas@gmx.de>
Fix the behaviour of insensitive actions, which was broken
when gtk_action_activate() was changed to pay attention to
sensitivity (#129557, Christian Persch)
* gtk/gtkaction.h:
* gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary
function to emit an activate signal without regard to sensitivity.
* gtk/gtkradioaction.c:
* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
instead of gtk_action_activate().
Kristian Rietveld [Thu, 18 Dec 2003 18:19:05 +0000 (18:19 +0000)]
Fixes #110249, reworked patch from Joshua N Pritikin.
Thu Dec 18 19:13:12 2003 Kristian Rietveld <kris@gtk.org>
Fixes #110249, reworked patch from Joshua N Pritikin.
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type),
(gtk_tree_model_sort_tree_drag_source_init),
(gtk_tree_model_sort_row_draggable),
(gtk_tree_model_sort_drag_data_get),
(gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource.
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type),
(gtk_tree_model_filter_tree_drag_source_init),
(gtk_tree_model_filter_row_draggable),
(gtk_tree_model_filter_drag_data_get),
(gtk_tree_model_filter_drag_data_delete): ditto.
Miloslav Trmac [Thu, 18 Dec 2003 17:21:28 +0000 (17:21 +0000)]
Update Czech translation
Kristian Rietveld [Thu, 18 Dec 2003 17:03:42 +0000 (17:03 +0000)]
add key bindings for "*" and "/" (expand/collapse all). (#110195, reported
Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings
for "*" and "/" (expand/collapse all). (#110195, reported by
Calum Benson).
Kristian Rietveld [Thu, 18 Dec 2003 16:55:58 +0000 (16:55 +0000)]
clear the extra_attrs list if we set "text" after "markup". (Fixes
Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
clear the extra_attrs list if we set "text" after "markup".
(Fixes #121933, Federico Mena Quintero).
Alexander Larsson [Thu, 18 Dec 2003 16:08:01 +0000 (16:08 +0000)]
Fix typo that used the wrong x/y values for the x1, y1 point
2003-12-18 Alexander Larsson <alexl@redhat.com>
* gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect):
Fix typo that used the wrong x/y values for the x1, y1 point
Kristian Rietveld [Thu, 18 Dec 2003 00:44:37 +0000 (00:44 +0000)]
added language and language_set properties like GtkTextTag has. (#103800,
Thu Dec 18 01:41:50 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
(gtk_cell_renderer_text_finalize),
(gtk_cell_renderer_text_get_property),
(gtk_cell_renderer_text_set_property), (get_layout): added language
and language_set properties like GtkTextTag has. (#103800, reported
by Owen Taylor).
Matthias Clasen [Thu, 18 Dec 2003 00:39:17 +0000 (00:39 +0000)]
Correct misleading docs. Add docs for the "activate" signal. (#129358,
Thu Dec 18 01:37:59 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
* gtk/gtkbutton.c (gtk_button_class_init): Add docs for the
"activate" signal. (#129358, Ka-Hing Cheung)
Kristian Rietveld [Thu, 18 Dec 2003 00:25:11 +0000 (00:25 +0000)]
Jonathan got the logical flag backwards in the expand_collapse_cursor_row
Thu Dec 18 01:21:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got
the logical flag backwards in the expand_collapse_cursor_row
bindings, fixing.
(gtk_tree_view_real_expand_collapse_cursor_row): invert expand
flag when !logical and in RTL. (Fixes #107527, reported by
Noah Levitt).
Christian Rose [Thu, 18 Dec 2003 00:24:01 +0000 (00:24 +0000)]
Updated Swedish translation.
2003-12-18 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Matthias Clasen [Thu, 18 Dec 2003 00:23:21 +0000 (00:23 +0000)]
Add gtk_message_dialog_set_markup
Thu Dec 18 01:24:35 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add gtk_message_dialog_set_markup
Kristian Rietveld [Thu, 18 Dec 2003 00:12:31 +0000 (00:12 +0000)]
only start editing when activated by the left mouse button. (#106869,
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
editing when activated by the left mouse button. (#106869,
patch from Evan Martin).
Kristian Rietveld [Thu, 18 Dec 2003 00:06:43 +0000 (00:06 +0000)]
Migrating all cell renderers to use the new instance private data
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org>
Migrating all cell renderers to use the new instance private data
construction.
* gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no
longer being used.
* gtk/gtkcellrenderer.c (gtk_cell_renderer_init),
(gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property),
(set_cell_bg_color), (gtk_cell_renderer_render): remove old
GtkCellRendererInfo handling, migrate to instance private data.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
(gtk_cell_renderer_text_start_editing): moved focus_out_id
from GtkCellRendererInfo to text renderer private data.
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init),
(gtk_cell_renderer_pixbuf_class_init),
(gtk_cell_renderer_pixbuf_finalize),
(gtk_cell_renderer_pixbuf_get_property),
(gtk_cell_renderer_pixbuf_set_property),
(gtk_cell_renderer_pixbuf_create_stock_pixbuf),
(gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render):
migrate to instance private data.
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
(gtk_cell_renderer_toggle_get_property),
(gtk_cell_renderer_toggle_set_property),
(gtk_cell_renderer_toggle_render): migrate to instance private data.
Kristian Rietveld [Wed, 17 Dec 2003 23:30:36 +0000 (23:30 +0000)]
add a single-paragraph-mode property, use private instance data. (Fixes
Thu Dec 18 00:24:32 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
(gtk_cell_renderer_text_get_property),
(gtk_cell_renderer_text_set_property), (get_layout): add a
single-paragraph-mode property, use private instance data.
(Fixes #114943, reported by Morten Welinder).
Kristian Rietveld [Wed, 17 Dec 2003 23:09:27 +0000 (23:09 +0000)]
now deprecated (#106953, reported by Matthias Clasen).
Thu Dec 18 00:07:01 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.h (gtk_tree_path_new_root),
(gtk_tree_model_get_iter_root): now deprecated (#106953, reported
by Matthias Clasen).
Kristian Rietveld [Wed, 17 Dec 2003 22:56:27 +0000 (22:56 +0000)]
if we set a new stock_id and there was a previous stock_id, unref the
Wed Dec 17 23:50:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
if we set a new stock_id and there was a previous stock_id, unref
the pixbuf (since it was used to renderer the previous stock_id
and stock_id might have been set to NULL now). (Fixes #122966).
Marco Pesenti Gritti [Wed, 17 Dec 2003 22:47:55 +0000 (22:47 +0000)]
Check that index is not bigger than level array length also when depth is
2003-12-17 Marco Pesenti Gritti <marco@gnome.org>
* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter):
Check that index is not bigger than level array length
also when depth is 1. Now get_iter_first correctly return
FALSE when the model is empty (#129411).
Kristian Rietveld [Wed, 17 Dec 2003 22:33:54 +0000 (22:33 +0000)]
only try to strcmp or strlen if we managed to normalize and casefold the
Wed Dec 17 23:31:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): only
try to strcmp or strlen if we managed to normalize and casefold
the string correctly. Fixes crashes with non-UTF8 strings.
(#121617, Patch from Tim-Philipp Müller).
Matthias Clasen [Wed, 17 Dec 2003 22:23:32 +0000 (22:23 +0000)]
Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). Cast second argument
Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
* gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
Kristian Rietveld [Wed, 17 Dec 2003 22:18:43 +0000 (22:18 +0000)]
fix compile warning. (#122727, patch from Kjartan Maraas).
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
(#122727, patch from Kjartan Maraas).
Kristian Rietveld [Wed, 17 Dec 2003 20:29:43 +0000 (20:29 +0000)]
Yay! Fixed height mode! Hooray! (Part 2 of #80868).
Wed Dec 17 21:23:01 2003 Kristian Rietveld <kris@gtk.org>
Yay! Fixed height mode! Hooray! (Part 2 of #80868).
* gtk/gtktreeview.c (gtk_tree_view_class_init),
(gtk_tree_view_init), (gtk_tree_view_set_property),
(gtk_tree_view_get_property), (gtk_tree_view_set_model): add a
fixed_height_mode property,
(intialize_fixed_height_mode), (do_validate_rows),
(column_sizing_notify), (gtk_tree_view_set_fixed_height_mode),
(gtk_tree_view_style_set), (gtk_tree_view_row_changed),
(gtk_tree_view_row_inserted), (gtk_tree_view_remove_column),
(gtk_tree_view_insert_column): implement fixed height mode,
(gtk_tree_view_append_column), (gtk_tree_view_insert_column),
(gtk_tree_view_insert_column_with_attributes),
(gtk_tree_view_insert_column_with_data_func): update docs.
* gtk/gtktreeprivate.h: add two fields to GtkTreePrivate.
Murray Cumming [Wed, 17 Dec 2003 17:52:47 +0000 (17:52 +0000)]
Actually call the default signal handlers instead of calling the
2003-12-07 Murray Cumming <murrayc@usa.net>
* gtk/gtktreemodel.c:
(row_inserted_marshal, row_deleted_marshal, rows_reorderered_marshal)
Actually call the default signal handlers instead of calling the
marshallers themselves in an endless loop. These default signal handler
callbacks are not actually set so this is only noticed by gtkmm at
the moment. Bug 123923.
Federico Mena Quintero [Wed, 17 Dec 2003 05:55:16 +0000 (05:55 +0000)]
Added a "volumes-changed" signal. Added the following methods:
2003-12-16 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
"volumes-changed" signal. Added the following methods:
list_volumes
volume_free
volume_get_base_path
volume_get_is_mounted
volume_mount
volume_get_display_name
volume_render_icon
* gtk/gtkfilesystem.c (gtk_file_system_base_init): Create the
"volumes-changed" signal.
(gtk_file_system_list_volumes): New function.
(gtk_file_system_volume_free): New function.
(gtk_file_system_volume_get_base_path): New function.
(gtk_file_system_volume_get_is_mounted): New function.
(gtk_file_system_volume_mount): New function.
(gtk_file_system_volume_get_display_name): New function.
(gtk_file_system_volume_render_icon): New function.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_free): Implement.
(gtk_file_system_unix_volume_get_base_path): Implement.
(gtk_file_system_unix_volume_get_is_mounted): Implement.
(gtk_file_system_unix_volume_mount): Implement.
(gtk_file_system_unix_volume_get_display_name): Implement.
(gtk_file_system_unix_volume_render_icon): Implement.
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Added a field for the "volumes-changed" signal connection.
(gtk_file_chooser_default_set_property): Connect to
"volumes-changed" on the file system.
(gtk_file_chooser_default_finalize): Disconnect from
"volumes-changed".
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): New helper
function.
(shortcuts_get_index): New helper function.
(shortcuts_insert_path): Can now insert volumes as well as paths.
(shortcuts_append_paths): Don't take is_file_system_root.
(shortcuts_add_volumes): New function.
(shortcuts_append_file_system_roots): Removed.
(create_shortcuts_model): Use shortcuts_add_volumes().
(remove_bookmark_button_clicked_cb): Check that the index is
within range.
(bookmarks_check_add_sensitivity): Take volumes into account.
(shortcuts_get_selected_index): New helper function.
(remove_bookmark_button_clicked_cb): Use
shortcuts_get_selected_index().
(bookmarks_check_remove_sensitivity): Likewise.
(shortcuts_select_func): Likewise.
(shortcuts_row_activated_cb): Handle volumes as well as normal
paths.
(shortcuts_activate_volume): New function.
(struct _GtkFileChooserDefault): Removed the bookmarks_set and
bookmarks_iter fields.
(shortcuts_append_bookmarks): Use shortcuts_remove_rows().
(bookmarks_changed_cb): Use shortcuts_add_bookmarks().
(remove_bookmark_rows): Removed.
(shortcuts_add_bookmarks): New function; moved most of the code
over from shortcuts_append_bookmarks().
(shortcuts_append_bookmarks): Add the separator node here, and
then call shortcuts_add_bookmarks().
Manish Singh [Tue, 16 Dec 2003 22:58:58 +0000 (22:58 +0000)]
fix preprocessor conditional confusion. (G_OS_UNIX/G_OS_WIN32 stuff)
Tue Dec 16 15:01:10 2003 Manish Singh <yosh@gimp.org>
* gtk/gtkfilechooserwidget.c: fix preprocessor conditional confusion.
(G_OS_UNIX/G_OS_WIN32 stuff)
Christian Rose [Tue, 16 Dec 2003 21:42:13 +0000 (21:42 +0000)]
Updated Swedish translation.
2003-12-16 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Danilo Šegan [Tue, 16 Dec 2003 04:55:32 +0000 (04:55 +0000)]
Updated Serbian translation.
2003-12-16 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Matthias Clasen [Tue, 16 Dec 2003 00:56:48 +0000 (00:56 +0000)]
Do not interpret distant clicks as double-clicks (#116541, Bernhard
Tue Dec 16 01:46:46 2003 Matthias Clasen <maclas@gmx.de>
Do not interpret distant clicks as double-clicks (#116541,
Bernhard Walle):
* gdk/gdkdisplay.h (struct GdkDisplay): Add new fields
double_click_distance, button_x and button_y.
* gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields.
* gdk/gdkdisplay.h:
* gdk/gdkevents.c (gdk_display_set_double_click_distance):
New function to set the double click distance on a display.
* gdk/gdkevents.c: Take double click distance into account
when generating single, double or triple clicks.
* gtk/gtksettings.c: Add new setting "gtk-double-click-distance".
* gdk/x11/gdkevents-x11.c: Add the XSetting
"Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
Federico Mena Quintero [Mon, 15 Dec 2003 22:03:15 +0000 (22:03 +0000)]
Sigh, revert the change.
2003-12-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkdialog.c: Sigh, revert the change.
Federico Mena Quintero [Mon, 15 Dec 2003 21:47:50 +0000 (21:47 +0000)]
Removed. (gtk_dialog_close): Don't call dialog_has_cancel(). At least
2003-12-15 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkdialog.c (dialog_has_cancel): Removed.
(gtk_dialog_close): Don't call dialog_has_cancel(). At least
allows sane behavior for #101293.
Miloslav Trmac [Mon, 15 Dec 2003 11:41:52 +0000 (11:41 +0000)]
Update Czech translation
Francisco Javier F. Serrador [Mon, 15 Dec 2003 09:46:12 +0000 (09:46 +0000)]
*es.po: Updated Spanish translation.
2003-12-15 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
*es.po: Updated Spanish translation.
Danilo Šegan [Mon, 15 Dec 2003 08:04:53 +0000 (08:04 +0000)]
Updated Serbian translation.
2003-12-15 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Matthias Clasen [Mon, 15 Dec 2003 00:02:00 +0000 (00:02 +0000)]
Add gtk_button_[sg]et_alignment. Mon Dec 15 01:03:08 2003 Matthias Clasen
Mon Dec 15 01:03:08 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add gtk_button_[sg]et_alignment.
Mon Dec 15 01:03:08 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add gtk_button_[sg]et_alignment.
Matthias Clasen [Mon, 15 Dec 2003 00:00:19 +0000 (00:00 +0000)]
Add new properties, xalign and yalign, with getter and setter
Mon Dec 15 00:56:54 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.[hc]: Add new properties, xalign and yalign, with
getter and setter gtk_button_[sg]et_alignment(), to set the
alignment of the child. (#70961, Jody Goldberg)
Kjartan Maraas [Sun, 14 Dec 2003 20:38:02 +0000 (20:38 +0000)]
Updated Norwegian translation.
2003-12-14 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
Hans Breuer [Sun, 14 Dec 2003 19:03:02 +0000 (19:03 +0000)]
handle GTK_DATADIR similar as the other filesystem placement 'constants'
2003-12-14 Hans Breuer <hans@breuer.org>
* gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR
similar as the other filesystem placement 'constants' (dynamic
resolving on win32)
* gtk/gtkfilechooserwidget.c : handle file system to win32
renaming here as will
* gtk/gtkfilesystemwin32.c : implement render_icon
* gtk/gtk.def gdk/gdk.def : updated externals
* gdk/win32/gdkdisplay-win32.c : make it compile without
<multimon.h> - i.e. even older sdk
* gdk/win32/gdkevents-win32.c : match resize_timer_proc
with TIMERPROC prototype
* gdk/win32/gdkwindow-win32.c : older msvc does not know
BITMAPV5HEADER (from win xp) either
* gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is
not defined
* tests/testfilechooser.c : recent GLib crashes on
g_print ("%s", NULL) so avoid this
Updated ja.po. T.Aihana [Sun, 14 Dec 2003 08:42:38 +0000 (08:42 +0000)]
2003-12-14 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Tor Lillqvist [Sun, 14 Dec 2003 02:20:14 +0000 (02:20 +0000)]
Calls to OpenClipboard() must be followed by calls to CloseClipboard().
2003-12-14 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be
followed by calls to CloseClipboard(). Add a missing call to
CloseClipboard(). Found by Adam Wright, fixes #104944. Use
API_CALL macro in more places.
Tor Lillqvist [Sun, 14 Dec 2003 01:57:54 +0000 (01:57 +0000)]
Merge from stable:
2003-12-14 Tor Lillqvist <tml@iki.fi>
Merge from stable:
* gdk/gdkdisplaymanager.c: Mark default_display static.
* gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static.
* gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging
output.
* gdk/win32/gdkevents-win32.c: Clean up the debugging output from
--gdk-debug=events. In general, output just one line of debugging
output for each Windows message, plus one line for each GDK event
generated. Indent all lines according to window procedure nesting
level.
(inner_window_procedure): Rename from real_window_procedure.
(find_real_window_for_grabbed_mouse_event): Don't get misled when
the point is in the non-client (decoration) area of the window
returned by WindowFromPoint(). Return the root window in that
case.
(build_pointer_event_state): Test also MK_XBUTTON1 and
MK_XBUTTON2 (buttons 4 and 5).
(synthesize_enter_event): Track the mouse leaving the window in
the event being generated, not the one mentioned in the Windows
message.
(propagate): Test for NULL parent earlier. Improves event
generation from a grabbed pointer. Part of fix for #107320.
(handle_stuff_while_moving_or_resizing): New function, to
dispatch the main loop (once).
(resize_timer_proc): New function, set to be called by an inerval
timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing().
(gdk_event_translate): Drop unused return_exposes parameter.
Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5).
On WM_SYSKEYUP, generate a key release event also for just the Alt
key.
On WM_MOUSELEAVE, generate a leave event of type
GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a
top-level window, and left the app completely.
On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that
calls resize_timer_proc() at regular intervals. On
WM_EXITSIZEMOVE, kill the timer.
On WM_WINDOWPOSCHANGED, generate a configure event if necessary,
and dispatch the main loop (by calling
handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by
Herman Bloggs.
* gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle
also wintab messages.
* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting
the window's owner. Fixes #118093, reported by Maxime Romano.
Tim Evans [Sun, 14 Dec 2003 01:06:56 +0000 (01:06 +0000)]
Implement gdk_window_set_icon_list() for Win32, with support for big and
Tue Dec 8 09:41:00 2003 Tim Evans <t.evans@aranz.com>
* gdk/win32/gdkwindow-win32.[ch]: Implement
gdk_window_set_icon_list() for Win32, with support for big and
small icons and support for alpha-channel icons under Windows
XP. Replaces the previous implementation of gdk_window_set_icon().
(#128762)
Matthias Clasen [Sun, 14 Dec 2003 00:28:57 +0000 (00:28 +0000)]
Rename from _gdk_x11_register_event_type(), added API docs.
Sun Dec 14 01:28:23 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkprivate-x11.h:
* gdk/x11/gdkx.h:
* gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type):
Rename from _gdk_x11_register_event_type(), added API docs.
* gdk/x11/gdkinput-x11.c (_gdk_input_common_init):
* gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust
all callers. (#121471, Bill Haneman)
Matthias Clasen [Sat, 13 Dec 2003 22:45:25 +0000 (22:45 +0000)]
Document that the clip mask of gc is ignored. (#101983, Sebastian Rittau)
Sat Dec 13 23:37:50 2003 Matthias Clasen <maclas@gmx.de>
* gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask
of gc is ignored. (#101983, Sebastian Rittau)
Matthias Clasen [Sat, 13 Dec 2003 21:37:32 +0000 (21:37 +0000)]
Add stock_dialog_authentication_48.png. (#129255, Olivier Andrieu)
Sat Dec 13 22:37:46 2003 Matthias Clasen <maclas@gmx.de>
* gtk/Makefile.am (HTML_IMAGES): Add
stock_dialog_authentication_48.png. (#129255, Olivier Andrieu)
Kristian Rietveld [Sat, 13 Dec 2003 15:20:28 +0000 (15:20 +0000)]
A trick for a faster treeview, step 1. Patch to short circuit
Sat Dec 13 16:13:27 2003 Kristian Rietveld <kris@gtk.org>
A trick for a faster treeview, step 1. Patch to short circuit
_build_tree(), inspired by Jonathan (#80868).
* gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
flags by default,
(gtk_tree_view_build_tree): don't even try to recurse when the
model says that it is a list, remove flag unsetter,
(gtk_tree_view_set_model): change flag setting logic.
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
propagate whether or not the child model has _IS_LIST set.
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
ditto.
Christian Rose [Sat, 13 Dec 2003 13:19:25 +0000 (13:19 +0000)]
Updated Swedish translation.
2003-12-13 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Francisco Javier F. Serrador [Sat, 13 Dec 2003 11:26:22 +0000 (11:26 +0000)]
Updated Spanish translation
2003-12-13 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation
Matthias Clasen [Sat, 13 Dec 2003 01:33:17 +0000 (01:33 +0000)]
Undo the last change, since it broke logical keynav. Fix stepper direction
Sat Dec 13 02:33:17 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkrange.c (gtk_range_scroll): Undo the last change,
since it broke logical keynav.
* gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper
direction in inverted scrollbars here instead.
Matthias Clasen [Fri, 12 Dec 2003 23:40:58 +0000 (23:40 +0000)]
Implement "gravity" for RTL mode in a better way: Keep the distance from
Sat Dec 13 00:39:24 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement
"gravity" for RTL mode in a better way: Keep the distance from
the upper end of the page to the upper bound constant. This also
fixes problems with the initial position of the viewport in RTL
mode. (#129063)
Kristian Rietveld [Fri, 12 Dec 2003 20:08:58 +0000 (20:08 +0000)]
Combo box flipping support.
Fri Dec 12 21:00:12 2003 Kristian Rietveld <kris@gtk.org>
Combo box flipping support.
* gtk/gtkcombobox.c (gtk_combo_box_menu_position),
(gtk_combo_box_size_allocate): support RTL flipping (#126518,
patch from Matthias Clasen),
(gtk_combo_box_popup): fix popup window alignment if there's a
cell view frame visible (#126518, patch from Semion Chichelnitsky).
* gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
(#128348, patch from Semion Chichelnitsky).
Miloslav Trmac [Fri, 12 Dec 2003 17:16:33 +0000 (17:16 +0000)]
Update Czech translation
Matthias Clasen [Fri, 12 Dec 2003 00:16:14 +0000 (00:16 +0000)]
Remove deprecated functions in examples. (#129074, Olexiy Avramchenko)
Fri Dec 12 01:13:34 2003 Matthias Clasen <maclas@gmx.de>
* examples/gtkdial/gtkdial.c:
* examples/menu/menu.c:
* examples/scribble-xinput/scribble-xinput.c:
* examples/progressbar/progressbar.c:
* docs/tutorial/gtk-tut.sgml: Remove deprecated functions
in examples. (#129074, Olexiy Avramchenko)
* examples/calendar/Makefile:
* examples/rangewidgets/Makefile:
* examples/menu/Makefile: Allow deprecated functions in
examples which use deprecated widgets.
Matthias Clasen [Thu, 11 Dec 2003 23:52:59 +0000 (23:52 +0000)]
Documentation updates.
Matthias Clasen [Thu, 11 Dec 2003 23:05:25 +0000 (23:05 +0000)]
Fix direction of steppers in inverted scrollbars. (#129084, Olexiy
Fri Dec 12 00:05:31 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkrange.c (gtk_range_scroll): Fix direction of
steppers in inverted scrollbars. (#129084, Olexiy Avramchenko)
Matthias Clasen [Thu, 11 Dec 2003 22:50:09 +0000 (22:50 +0000)]
Don't unnecessarily reserve space for arrows in RTL mode. (#129075, Semion
Thu Dec 11 23:50:30 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't
unnecessarily reserve space for arrows in RTL mode. (#129075,
Semion Chichelnitsky)
Francisco F. Serrador [Thu, 11 Dec 2003 22:32:00 +0000 (22:32 +0000)]
Updated Spanish translation
2003-12-11 Francisco F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation
Danilo Šegan [Thu, 11 Dec 2003 17:18:43 +0000 (17:18 +0000)]
Updated Serbian translation.
2003-12-11 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Matthias Clasen [Thu, 11 Dec 2003 00:57:20 +0000 (00:57 +0000)]
Move the documentation for signals inline, to get proper parameter
Thu Dec 11 01:57:05 2003 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): Move
the documentation for signals inline, to get proper parameter
documentation. (#128977)